function [line_handles] = draw_vslice_line ( x, y, spx, spy )
% DRAW_VSLICE_LINE:  draws the vslice line as defined by the user
%
% USAGE:  [line_handles] = draw_vslice_line ( x, y, spx, spy );
%
% PARAMETERS:
% Input:
%     x, y:  control points, maybe retrieved from ginput?
%     spx, spy:  splines defining the line
% Output:
%     line_handles:  4 matlab line handles that demark the line
%     
%
% Calls:
% Called by:
%     acquire_vslice_line

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% $Name: rslice-0_9_2 $
% $Id: draw_vslice_line.m,v 1.4 2005/07/07 15:19:33 jevans Exp $
% AUTHOR:  johnevans@acm.org
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


num_points = length(x);
	
if num_points < 2
	hx = x; hy = y;
else
	[hx, hy] = create_hires_line ( spx, spy );
end

thick_smooth_handle = plot ( hx, hy );
set ( thick_smooth_handle, 'LineWidth', 2, 'Color', 'white' );
thin_smooth_handle = plot ( hx, hy );
set ( thin_smooth_handle, 'LineWidth', 1, 'Color', 'black' );

asterisk_handle = plot ( x, y, 'w*' );
o_handle = plot ( x, y, 'ko' );

line_handles(1) = thin_smooth_handle;
line_handles(2) = thick_smooth_handle;
line_handles(3) = asterisk_handle;
line_handles(4) = o_handle;


return

